import {
    createRouter,
    createWebHistory
} from 'vue-router'
import Table from "../views/Table.vue"
import Rate from "../views/Rate.vue"

const routes = [{
        path: '/',
        name: 'Table',
        component: Table
    },
    {
        path: '/rate',
        name: 'Rate',
        component: Rate
    },


]

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})

export default router